package com.hy.bean;

/**
 * 
 * @author yoka24443
 *
 */
public class Car {
	private int carId;
	private String brand;
	private String color;
	private int year;
	/**
	 * 
	 */
	public Car() {

	}
	/**
	 * @param carId
	 * @param brand
	 * @param color
	 * @param year
	 */
	public Car(int carId, String brand, String color, int year) {
		this.carId = carId;
		this.brand = brand;
		this.color = color;
		this.year = year;
	}
	public int getCarId() {
		return carId;
	}
	public void setCarId(int carId) {
		this.carId = carId;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public int getYear() {
		return year;
	}
	public void setYear(int year) {
		this.year = year;
	}
}
